<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

  <title>下载APP</title>
  <link rel="stylesheet" href="css/normalize.css" />
  <link rel="stylesheet" type="text/css" href="css/index.css">
  <script type="text/javascript" src="js/rem.js" ></script>
  <style type="text/css">
  	html,body{
  		height: 100%;
  	}
  	#weixin-tip{display:none;position:fixed;left:0;top:0;background:rgba(0,0,0,0.8);filter:alpha(opacity=80);width:100%;height:100%;z-index:100;color: #fff;}
	#weixin-tip p{text-align:center;margin-top:10%;padding:0 5%;position:relative;}
	#weixin-tip p img{
		width: 100%;
	}
	#weixin-tip .close{color:#fff;padding:5px;font:bold 20px/24px simsun;text-shadow:0 1px 0 #ddd;position:absolute;top:0;left:5%;}
	.icon{
		padding-top: 30%;
		width: 30%;
		margin-left: 35%;
		font-size: 18px;
		line-height: 30px;
		text-align: center;
		font-family: '黑体';
		margin-bottom: 50%;
	}
	.icon img{
		width: 50px;
	}
	.icon span{
		display: block;
	}
	.android-btn img{
		width: 40%;
		margin-left: 30%;
	}
  </style>
</head>
<script src="https://s19.cnzz.com/z_stat.php?id=1263618909&web_id=1263618909" language="JavaScript"></script>


<body>
	<div class="icon">
		<img src="images/icon.png">
		<span>卖场直连</span>
	</div>
	<a id="J_weixin" class="android-btn"  href="http://files.git.oschina.net/group1/M00/01/D9/PaAvDFmyQUCACPtHAeNgSNLTVQE810.apk?attname=app-Haier-release.apk"><img src="images/android-btn.png"></a>
<div id="weixin-tip">
	
<p><img src="images/live_weixin.png" alt="微信打开"/><span id="close" title="关闭" class="close">×</span></p>
</div>
		
</body>
<script type="text/javascript">
	var is_weixin = (function(){return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1})();
window.onload = function() {
	var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight; //兼容IOS，不需要的可以去掉
	var btn = document.getElementById('J_weixin');
	var tip = document.getElementById('weixin-tip');
	var close = document.getElementById('close');
	if (is_weixin) {
		btn.onclick = function(e) {
			tip.style.height = winHeight + 'px'; //兼容IOS弹窗整屏
			tip.style.display = 'block';
			return false;
		}
		close.onclick = function() {
			tip.style.display = 'none';
		}
	}
}
</script>
</html>